package com.xnyzc.lhy.order.entity.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* 司机消息清单表
*
* @author cuixiaojian
* @since 2019-12-11
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysMessageDriver对象", description="司机消息清单表")
public class OaSysMessageDriver implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "司机消息清单id")
    @TableId(value="message_driver_id", type = IdType.INPUT)
    private Long messageDriverId;

    private Long driverId;

    @ApiModelProperty(value = "消息类型  0 应用内消息 1 push 推送 2 短信推送")
    private Integer messageType;

    @ApiModelProperty(value = "应用内消息编号")
    private Long inAppId;

    @ApiModelProperty(value = "消息是否查看(0未查看 1 已查看)")
    private Integer isRead;

    @ApiModelProperty(value = "司机评论(暂定)")
    private String driverComments;

    @ApiModelProperty(value = "删除 （0 未删 1 已删）")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "推展字段1")
    private String expand1;

    @ApiModelProperty(value = "推展字段2")
    private String expand2;

    @ApiModelProperty(value = "推展字段3")
    private String expand3;


    public static final String MESSAGE_DRIVER_ID = "message_driver_id";

    public static final String DRIVER_ID = "driver_id";

    public static final String MESSAGE_TYPE = "message_type";

    public static final String IN_APP_ID = "in_app_id";

    public static final String IS_READ = "is_read";

    public static final String DRIVER_COMMENTS = "driver_comments";

    public static final String DELETED = "deleted";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

}
